package com.ruoyi.cderp.service.impl;

import com.ruoyi.cderp.domain.TblTakeStockConfig;
import com.ruoyi.cderp.mapper.ProductStockMapper;
import com.ruoyi.cderp.service.IProductStockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 何赞飞
 * @date 2025/2/28 9:00
 * @description
 **/
@Service
public class ProductStockServiceImpl implements IProductStockService {

    @Autowired
    private ProductStockMapper productStockMapper;

    @Override
    public TblTakeStockConfig selectTblTakeStockConfigInfo() {
        return productStockMapper.selectTblTakeStockConfigInfo();
    }

    @Override
    public int updateTblTakeStockConfig(TblTakeStockConfig tblTakeStockConfig) {
        return productStockMapper.updateTblTakeStockConfig(tblTakeStockConfig);
    }
}
